Darwin Fink

[ Start > Darwin Fink ] [ Edit this Page | Viewing Version 2 ]


What is it?

Fink is a Debian-like packaging system for darwin/MacOS X.

It allows package compilation from sources as well as binary package install.

This document assumes you have Fink properly installed and running. See Fink for more informations.

1 Pike 7.4

1.1 Status

Pike 7.4 has been packaged for Fink by Xavier Beaudouin.

Check the http://pdb.finkproject.org/pdb/package.php/pike7.4.

Depending on your platform, the Pike 7.4 package can be supported or not.

1.1 Binary package

There is currently no binary package available for Pike 7.4.

1.1 Source package

Depending on your platform (see Status), the Pike 7.4 may be available in your fink installation. Check that:

sudo fink list pike7.4

If pike7.4 is not available, copy the info file to /sw/fink/dist/local/main/finkinfo/.

Then, build pike7.4:

sudo fink -b install pike7.4

Troubleshoot

If you encounter a problem, send a detailed report to the Pike mailing list, using the [Fink] subject.

1 Pike 7.6

1.1 Status

This package is known to build and run on MacOS X 10.4.x on PowerPC and x86.

The pike7.6 Fink packages has been made so that it won't conflict with pike7.2 or pike7.4 Fink packages.

However, i'm not sure wether pike7.2 nor pike7.4 won't mess up the pike7.6 package.

These packages have been tested on MacOS X 10.4.6 (darwin 8.6.0) PowerPC using Fink 0.24.15 (0.8.0.rsync) and gcc 4.0.0 20041026

Informations about this can be found online: http://bertrand.gotpike.org/

1.1 Binary package

The Pike 7.6 packages have not been submitted to the Fink team, yet. Thus, there is no binary packages available in the Fink packages database. However, PowerPC and x86 packages can be provided to download. Please ask the Pike mailing list, using the [Fink] subject.

1.1 Source Package

The latest version of this package are in Pike 7.6 CVS.

Place the three required files (nettle.info pike7.6.info pike7.6.patch) in your local repository: /sw/fink/dists/local/main/finkinfo/

Then use the following command for building Pike:

sudo fink -b build pike7.6

This command will build all programs required to build Pike. The -b flag will try to use the binary distribution as much as possible, so that you won't have to compile all the dependencies, only Pike and Nettle.

Once build, you'll have to install the compiled packages. For limiting the need to external packages, the Pike7.6 is splitted into subpackages. You can list them using the command:

sudo fink list pike7.6

Thus, if you want to deal with MySQL with your Pike, just install using the following:

sudo fink -b install pike7.6 pike7.6-mysql

If you want to be able to deal with JPEG later, just use:

sudo fink -b install pike7.6-jpeg

Testing

Once Pike is installed, you should be able to run hilfe from Terminal.app:

pike

Pike v7.6 release 78 running Hilfe v3.5 (Incremental Pike Frontend) >

Once hilfe is running, particular aspects of the Pike interpreter can be tested interactively.

It's possible to run the testsuite on the freshly compiled Pike if the package has been built with the -Kk flags for Fink (see Hacking). Then:

cd /sw/src/fink.build/pike7.6-7.6.86-1/Pike-v7.6.86
sudo find . -name testsuite -exec bin/test_pike.pike {} &#59;

Hacking

If you want to cook your Pike package yourself, just edit the info and patch files.

Once your custom changes are made, increment the Revision field and rebuild the package.

You can use the -k and -K flags for fink, so that you can easily track down any problem at configure/compile time (and you can run the testsuite).

If you add something usefull in the Pike package, please share.

1.1 Troubleshoot

If you encounter a problem, send a detailed report to the Pike mailing list, using the [Fink] subject.


Powered by PikeWiki2

 
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University